/**
 * 
 */
package com.pmsco.pms.core.constant;


/**
 * @author Long Tran
 *
 */
public class PmsConstant {
	//Common constant
	public static final String loggedUserSession = "loggedUserSession";
	public static final String menuList = "menuList";
	public static final String dateFormat = "dd-MM-yyyy";
	public static final String AdminRole = "A";
	public static final String UserRole = "U";
	public static final String UserActivated = "T";
	public static final String UserUnActivate = "F";
	public static final Integer DefaultLogonFailCount = new Integer(0);
	public static final String UserLocked = "T";
	public static final String UserUnLock = "F";
	public static final String pmsRoleList = "roleList";
	public static final String numberLogonFailThreshold = "logon.numberLogonFailThreshold";
	public static final Integer defaultRandomStringLength = 6;
	public static final String enableEmailAuth = "T";
	public static final String disableEmailAuth = "F";
	public static final String enableEmailTls = "T";
	public static final String disableEmailTls = "F";
	public static final String unRequiredLogon = "F";
	public static final String requiredLogon = "T";
	public static final String topMenuLevel = "T";
	public static final String parentMenuList = "parentMenuList";
	public static final String roleList = "roleList";
	public static final String roleEnableList = "roleEnableList";
	public static final String categoryList = "categoryList";
	public static final String Yes = "Y";
	public static final String No = "N";
	
	//Invalid role user page constant
	public static final String invalidRoleU_Url = "/invalidRoleU";
	public static final String invalidRoleU_JspUrl = "invalidRoleU";
	public static final String invalidRoleU_View = "invalidRoleU";
	
	//Invalid role user page constant
	public static final String invalidRoleA_Url = "/invalidRoleA";
	public static final String invalidRoleA_JspUrl = "invalidRoleA";
	public static final String invalidRoleA_View = "invalidRoleA";
	
	//Logon page constant
	public static final String logon_Url = "/logon";
	public static final String logon_JspUrl = "logon";
	
	//Admin page constant
	public static final String admin_Url = "/admin";
	public static final String admin_JspUrl = "admin";
	public static final String admin_View = "adminHome";
	
	//Admin main page constant
	public static final String adminMain_Url = "/adminMain";
	public static final String adminMain_JspUrl = "adminMain";
	public static final String adminMain_View = "adminMain";
	
	//Restful constant
	public static final String searchDrug_RestUrl = "/searchDrug";
	
	//User page constant
	public static final String user_Url = "/";
	public static final String user_JspUrl = "";
	public static final String user_View = "userHome";
	public static final String home_Url = "/home";
	public static final String home_JspUrl = "home";
	
	//User main page constant
	public static final String userMain_Url = "/userMain";
	public static final String userMain_JspUrl = "userMain";
	public static final String userMain_View = "userMain";
	
	//User logon page constant
	public static final String userLogon_Url = "/userLogon";
	public static final String userLogon_JspUrl = "userLogon";
	public static final String userLogon_View = "userLogon";
	
	//User logout page constant
	public static final String userLogout_Url = "/userLogout";
	public static final String userLogout_JspUrl = "userLogout";
	public static final String userLogout_View = "userHome";
	
	//Admin logout page constant
	public static final String adminLogout_Url = "/adminLogout";
	public static final String adminLogout_JspUrl = "adminLogout";
	public static final String adminLogout_View = "adminHome";
	
	//List user page constant
	public static final String listUser_Url = "/listUser";
	public static final String listUser_JspUrl = "listUser";
	public static final String listUser_View = "listUser";
	
	//List user data
	public static final String listUserData_Url = "/listUserData";
	public static final String listUserData_JspUrl = "listUserData";
	public static final String listUserData_View = "listUserData";
	
	//Create user page constant
	public static final String createUser_Url = "/createUser";
	public static final String createUser_JspUrl = "createUser";
	public static final String createUser_View = "createUser";
	
	//Edit user page constant
	public static final String editUser_Url = "/editUser";
	public static final String editUser_JspUrl = "editUser";
	public static final String editUser_View = "editUser";
	
	//Save user page constant
	public static final String saveUser_Url = "/saveUser";
	public static final String saveUser_JspUrl = "saveUser";
	public static final String saveUser_View = "saveUser";
	
	//User register page constant
	public static final String registerUser_Url = "/registerUser";
	public static final String registerUser_JspUrl = "registerUser";
	public static final String registerUser_View = "registerUser";
	
	public static final String doRegisterUser_Url = "/doRegisterUser";
	public static final String doRegisterUser_JspUrl = "doRegisterUser";
	public static final String registerSuccessfulEmailSubjectKey = "registerUserSuccessful.emailTitle";
	public static final String registerSuccessfulEmailBodyKey = "registerUserSuccessful.emailBody";
	public static final String accountLockEmailSubjectKey = "accountLock.emailTitle";
	public static final String accountLockEmailBodyKey = "accountLock.emailBody";
	
	//User register successful page constant
	public static final String registerUserSuccessful_Url = "/registerUserSuccessful";
	public static final String registerUserSuccessful_JspUrl = "registerUserSuccessful";
	public static final String registerUserSuccessful_View = "registerUserSuccessful";
	
	//Activate user page constant
	public static final String activateUser_Url = "/activateUser";
	public static final String activateUser_JspUrl = "activateUser";
	public static final String activateUser_View = "activateUser";
	
	//Fail activate user page constant
	public static final String failActivateUser_Url = "/failActivateUser";
	public static final String failActivateUser_JspUrl = "failActivateUser";
	public static final String failActivateUser_View = "failActivateUser";
	
	//Unlock user page constant
	public static final String unlockUser_Url = "/unlockUser";
	public static final String unlockUser_JspUrl = "unlockUser";
	public static final String unlockUser_View = "unlockUser";
	
	//Fail unlock user page constant
	public static final String failUnlockUser_Url = "/failUnlockUser";
	public static final String failUnlockUser_JspUrl = "failUnlockUser";
	public static final String failUnlockUser_View = "failUnlockUser";
	
	//Forgot password page constant
	public static final String forgotPassword_Url = "/forgotPassword";
	public static final String forgotPassword_JspUrl = "forgotPassword";
	public static final String forgotPassword_View = "forgotPassword";
	
	//Do reset password constant
	public static final String doResetPassword_Url = "/doResetPassword";
	public static final String doResetPassword_JspUrl = "doResetPassword";
	public static final String doResetPassword_View = "doResetPassword";
	public static final String doResetPasswordEmailSubjectKey = "resetPassword.emailTitle";
	public static final String doResetPasswordEmailBodyKey = "resetPassword.emailBody";
	
	//Remind username page constant
	public static final String remindUsername_Url = "/remindUsername";
	public static final String remindUsername_JspUrl = "remindUsername";
	public static final String remindUsername_View = "remindUsername";
	
	//Do remind username constant
	public static final String doRemindUsername_Url = "/doRemindUsername";
	public static final String doRemindUsername_JspUrl = "doRemindUsername";
	public static final String doRemindUsername_View = "doRemindUsername";
	public static final String doRemindUsernameEmailSubjectKey = "remindUsername.emailTitle";
	public static final String doRemindUsernameEmailBodyKey = "remindUsername.emailBody";
	
	//Admin main page constant
	public static final String savePmsSysConfiguration_Url = "/savePmsSysConfiguration";
	public static final String savePmsSysConfiguration_JspUrl = "savePmsSysConfiguration";
	
	//Account information page constant
	public static final String accountInformation_Url = "/accountInformation";
	public static final String accountInformation_JspUrl = "accountInformation";
	public static final String saveAccountInformation_Url = "/saveAccountInformation";
	public static final String saveAccountInformation_JspUrl = "saveAccountInformation";
	
	//List menu page constant
	public static final String listMenu_Url = "/listMenu";
	public static final String listMenu_JspUrl = "listMenu";
	public static final String listMenu_View = "listMenu";
	
	//List menu data
	public static final String listMenuData_Url = "/listMenuData";
	public static final String listMenuData_JspUrl = "listMenuData";
	public static final String listMenuData_View = "listMenuData";
	
	//Create menu page constant
	public static final String createMenu_Url = "/createMenu";
	public static final String createMenu_JspUrl = "createMenu";
	public static final String createMenu_View = "createMenu";
	
	//Edit menu page constant
	public static final String editMenu_Url = "/editMenu";
	public static final String editMenu_JspUrl = "editMenu";
	public static final String editMenu_View = "editMenu";
	
	//Save menu page constant
	public static final String saveMenu_Url = "/saveMenu";
	public static final String saveMenu_JspUrl = "saveMenu";
	public static final String saveMenu_View = "saveMenu";
	
	//Delete menu page constant
	public static final String deleteMenu_Url = "/deleteMenu"; 
	public static final String deleteMenu_JspUrl = "deleteMenu";
	
	//List category page constant
	public static final String listCategory_Url = "/listCategory";
	public static final String listCategory_JspUrl = "listCategory";
	public static final String listCategory_View = "listCategory";
	
	//List category data
	public static final String listCategoryData_Url = "/listCategoryData";
	public static final String listCategoryData_JspUrl = "listCategoryData";
	public static final String listCategoryData_View = "listCategoryData";
	
	//Create category page constant
	public static final String createCategory_Url = "/createCategory";
	public static final String createCategory_JspUrl = "createCategory";
	public static final String createCategory_View = "createCategory";
	
	//Edit category page constant
	public static final String editCategory_Url = "/editCategory";
	public static final String editCategory_JspUrl = "editCategory";
	public static final String editCategory_View = "editCategory";
	
	//Save category page constant
	public static final String saveCategory_Url = "/saveCategory";
	public static final String saveCategory_JspUrl = "saveCategory";
	public static final String saveCategory_View = "saveCategory";
	
	//Delete category page constant
	public static final String deleteCategory_Url = "/deleteCategory"; 
	public static final String deleteCategory_JspUrl = "deleteCategory";
	
	//List sub category page constant
	public static final String listSubCategory_Url = "/listSubCategory";
	public static final String listSubCategory_JspUrl = "listSubCategory";
	public static final String listSubCategory_View = "listSubCategory";
	
	//List sub category data
	public static final String listSubCategoryData_Url = "/listSubCategoryData";
	public static final String listSubCategoryData_JspUrl = "listSubCategoryData";
	public static final String listSubCategoryData_View = "listSubCategoryData";
	
	//Create sub category page constant
	public static final String createSubCategory_Url = "/createSubCategory";
	public static final String createSubCategory_JspUrl = "createSubCategory";
	public static final String createSubCategory_View = "createSubCategory";
	
	//Edit sub category page constant
	public static final String editSubCategory_Url = "/editSubCategory";
	public static final String editSubCategory_JspUrl = "editSubCategory";
	public static final String editSubCategory_View = "editSubCategory";
	
	//Save sub category page constant
	public static final String saveSubCategory_Url = "/saveSubCategory";
	public static final String saveSubCategory_JspUrl = "saveSubCategory";
	public static final String saveSubCategory_View = "saveSubCategory";
	
	//Delete sub category page constant
	public static final String deleteSubCategory_Url = "/deleteSubCategory"; 
	public static final String deleteSubCategory_JspUrl = "deleteSubCategory";
	
	//List medicine page constant
	public static final String listMedicine_Url = "/listMedicine";
	public static final String listMedicine_JspUrl = "listMedicine";
	public static final String listMedicine_View = "listMedicine";
	
	//List medicine data
	public static final String listMedicineData_Url = "/listMedicineData";
	public static final String listMedicineData_JspUrl = "listMedicineData";
	public static final String listMedicineData_View = "listMedicineData";
	
	//Create medicine page constant
	public static final String createMedicine_Url = "/createMedicine";
	public static final String createMedicine_JspUrl = "createMedicine";
	public static final String createMedicine_View = "createMedicine";
	
	//Edit medicine page constant
	public static final String editMedicine_Url = "/editMedicine";
	public static final String editMedicine_JspUrl = "editMedicine";
	public static final String editMedicine_View = "editMedicine";
	
	//Save medicine page constant
	public static final String saveMedicine_Url = "/saveMedicine";
	public static final String saveMedicine_JspUrl = "saveMedicine";
	public static final String saveMedicine_View = "saveMedicine";
	
	//Delete medicine page constant
	public static final String deleteMedicine_Url = "/deleteMedicine"; 
	public static final String deleteMedicine_JspUrl = "deleteMedicine";
	
	//View medicine page constant
	public static final String viewMedicine_Url = "/viewMedicine";
	public static final String viewMedicine_JspUrl = "viewMedicine";
	public static final String viewMedicine_View = "viewMedicine";

	//error message constant
	public static final String constraintError = "1";
	
	//error message key
	public static final String errorMessage = "errorMessage";
	public static final String errorCode = "errorCode";
	public static final String userName_Existed_Key = "userName.existed";
	public static final String userEmail_Existed_Key = "userEmail.existed";
	public static final String userEmail_Existed_Admin_Key = "userEmail.existed.admin";
	public static final String saveAccountInformation_SuccessMessage_Key = "saveAccountInformation.successMessage";
	public static final String saveAccountInformation_ErrorDateFormat_Key = "saveAccountInformation.errorDateFormatMessage";
	public static final String menuName_Existed_Key = "menuName.existed";
	public static final String categoryName_Existed_Key = "categoryName.existed";
	public static final String subCategoryName_Existed_Key = "subCategoryName.existed";
	public static final String medicineName_Existed_Key = "medicineName.existed";
}
